package org.lc.stk.util;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class PasswordGenerator {
    public static void main(String[] args) {
        BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();
        
        String adminPassword = "admin";
        String userPassword = "user";
        
        System.out.println("管理员密码哈希:");
        System.out.println(encoder.encode(adminPassword));
        
        System.out.println("\n普通用户密码哈希:");
        System.out.println(encoder.encode(userPassword));
    }
}